package com.zzx.boot.entity.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author tan
 * @version 1.0
 * @date 2023/7/11 14:53
 */
@Data
public class AddFeedbackDto {
    @NotNull(message = "客服id不能为空")
    @Min(value = 0,message = "不能是负数")
    private Long toId;
    @NotNull(message = "内容不能为空")
    private String data;

}
